<ion-view view-title="会员中心" ng-controller="VipCtrl">
  	<header class="bar bar-header vip_background" ng-class="{true:'ios_bar',false:''}[Is_Ios]">
        <div class="show" menu-toggle="left" style="width: 9%;padding: 8px 0 0 10px;" ng-class="{true:'ios_show',false:''}[Is_Ios]"> <!--side="left" menu-toggle="left"-->
            <img src="img\icons\menu_white.svg"/>
        </div>
        <h1 side="left" menu-toggle="left" class="title Whitefont-17" ng-class="{true:'ios_show',false:''}[Is_Ios]">会员中心</h1>
  		<a href="javascript:void(0);" ui-sref="app.setup" class="button button-icon Whitefont-12" ng-class="{true:'ios_show',false:''}[Is_Ios]">设置</a>
    </header>
  <ion-content class="vip">
  	<div class="vip_header">
  		<div id="container" style="width:100%;height:700px;">
 			<div id="anitOut"></div>
		</div>
		<div class="circlBox" ui-sref="app.vip_message">
            <img class="marginTop-60" style="width: 80px; height: 80px; border-radius: 50%;" src="{{userMes.headimgurl ? 'http://assets.quanminkang.com.cn/' + userMes.headimgurl : 'img/icons/man_default.svg'}}" style="width: 80px;height: 80px;border-radius: 50%;"/>
        </div>
		<p class="Whitefont-16 marginTop-65">{{userMes.username}}</p>
  	</div>
	<div class="Whitebg vip_center">
		<div class="floatLeft Button-40 marginTop-10 marginLeft-10 myred" ui-sref="app.vip_red({curren:userMes.bonusbalance})">
			<img class="floatLeft marginTop-18 marginRight-14 marginLeft-14" src="img/loginicons/icon_hongbao.svg" width="42"/>
			<p class="Defaultfont-15 floatLeft marginBottom-14 Button-55">我的红包</p>
			<p class="Redfont-13 floatLeft Button-40">{{userMes.bonusbalance / 100 | currency:'￥'}}</p>
		</div>
		<div class="floatRight marginTop-10 marginRight-10 myintegral" ui-sref="app.vip_integral">
			<img class="floatLeft marginTop-18 marginBottom-10 marginRight-14 marginLeft-14" src="img/icons/jifen_big.svg" width="46"/>
			<p class="Defaultfont-15 floatLeft marginBottom-14 Button-55">我的康豆</p>
			<p class="Redfont-13 floatLeft Button-40">{{userMes.integrate || 0}}</p>
		</div>
		<div class="floatLeft marginTop-5 marginLeft-10 marginBottom-10 mylog" ui-sref="app.vip_log">
			<img class="floatLeft marginTop-18 marginRight-14 marginLeft-14" src="img/icons/record.svg" width="42"/>
			<p class="Defaultfont-15 floatLeft marginBottom-14 Button-55">我的保养记录</p>
			<p class="Redfont-13 margin-0 floatLeft Button-40 ">{{userMes.cumutativetime / 60 | number:1}} 分钟</p>
		</div>
		<div class="floatRight marginTop-5 marginRight-10 marginBottom-10 mydevice" ui-sref="app.vip_device">
			<img class="floatLeft marginTop-20 marginRight-14 marginLeft-14" src="img/icons/shebei2.svg" width="44"/>
			<p class="Defaultfont-15 floatLeft marginBottom-14 Button-55">我的设备管理</p>
			<p class="Redfont-13 floatLeft Button-40">{{userMes.modality.length || 0}} 台设备</p>
		</div>
		<div style="clear: both;"></div>
	</div>
	<div class="marginTop-10 listBorder lineHeight-40 Whitebg">
		<p class="Defaultfont-15 marginLeft-10 marginBottom-0">其他应用</p>
	</div>
    <div class="listBorder lineHeight-60 Whitebg" ng-if="!appListData">
		<!--<img class="floatLeft marginLeft-10 marginTop-10" src="img/icons/taobao.png" alt="" width="40" />-->
		<p class="Defaultfont-15 floatLeft marginLeft-10">{{err}}</p>
		<!--<img class="floatRight marginRight-10 top-20" src="img/icons/icon_more.svg" width="10"/>-->
		<!--<div style="clear: both;"></div>-->
	</div>
	<div class="listBorder lineHeight-60 Whitebg" ng-repeat="item in appListData" ng-click="openBow(item.androidurl,item.iosurl)">
		<img class="floatLeft marginLeft-10 marginTop-10" ng-src="{{item.logo}}" alt="" width="40" />
		<p class="Defaultfont-15 floatLeft marginLeft-10">{{item.name}}</p>
		<img class="floatRight marginRight-10 top-20" src="img/icons/icon_more.svg" width="10"/>
		<div style="clear: both;"></div>
	</div>
	<!--<div class="listBorder lineHeight-60 Whitebg">
		<img class="floatLeft marginLeft-10 marginTop-10" src="img/icons/yy.png" alt="" width="40"/>
		<p class="Defaultfont-15 marginLeft-10 floatLeft">YY直播平台</p>
		<img class="floatRight marginRight-10 top-20" src="img/icons/icon_more.svg" width="10"/>
		<div style="clear: both;"></div>
	</div>
	<div class=" lineHeight-60 Whitebg">
		<img class="floatLeft marginLeft-10 marginTop-10" src="img/icons/xianyu.png" alt="" width="40"/>
		<p class="Defaultfont-15 floatLeft marginLeft-10">咸鱼二手交易</p>
		<img class="floatRight marginRight-10 top-20" src="img/icons/icon_more.svg" width="10"/>
		<div style="clear: both;"></div>
	</div>-->

  </ion-content>
</ion-view>


